package system.staros.ablock3;
import java.io.*;
public class AppDataStorage {
public void createDataFile(String appName, String dataFName){
try {
File dfl=new File("appdata/"+appName+"/"+"dataFName");
if (!dfl.exists()){dfl.mkdirs();dfl.createNewFile();}
} catch(Exception e){
e.printStackTrace();
}
}
public void createDataFile(String dataFName){
try {
File dfl=new File("appdata/local/"+dataFName);
if (!dfl.exists()){dfl.mkdirs();dfl.createNewFile();}
} catch(Exception e){
e.printStackTrace();
}
}
}